WC_Asaas\Webhook\Endpoint S

Total Complexity 46
Dependencies 11
Dependents 2
Total lines 356
Lines of code 143
Logical lines of code 89
Comment lines 158
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
process_webhook()
A
45 9 42
validate_status()
A
55 8 18
validate_token()
S
68 4 6
validate_content()
S
69 3 6
response()
S
68 2 7
validate_billing_type()
S
69 2 6
get_url()
S
68 2 7
convert_other_billing_types_to_boleto()
S
68 2 7
validate_data()
S
73 2 5
validate_event()
S
68 2 6
get_instance()
S
71 2 6
ignore_non_woocommerce_subscription()
S
73 2 5
ignore_non_woocommerce_payment()
S
73 2 5
get_gateway_id()
S
72 1 5
query_vars()
S
77 1 4
custom_rewrite_basic()
S
78 1 3
__construct()
S
71 1 5